package com.operate.api.operate.banner.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class BannerVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "标题")
    private String bannerName;
    @ApiModelProperty(value = "Banner海报")
    private String bannerImg;
    @ApiModelProperty(value = "Banner类型 1 常规 2 广告")
    private Integer bannerType;
    @ApiModelProperty(value = "跳转类型 1 H5 2 视频")
    private Integer bannerJump;
    @ApiModelProperty(value = "跳转视频")
    private String bannerVideo;
    @ApiModelProperty(value = "跳转地址")
    private String bannerUrl;
    @ApiModelProperty(value = "最后操作人")
    private String updateUser;
    @ApiModelProperty(value = "最后操作时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;
}
